CVE-2025-57833
Django FilteredRelation SQL Injection
Description
An issue was discovered in Django 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before 5.2.6. FilteredRelation is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed QuerySet.annotate() or QuerySet.alias().
INFO
Published Date :
Sept. 3, 2025, 9:15 p.m.
Last Modified :
Oct. 20, 2025, 7:27 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | MITRE-CVE | ||||
| CVSS 3.1 | HIGH | [email protected] | 
Solution
- Update Django to version 4.2.24 or later.
- Update Django to version 5.1.12 or later.
- Update Django to version 5.2.6 or later.
Public PoC/Exploit Available at Github
                                            CVE-2025-57833 has a 5 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2025-57833.
                                        
| URL | Resource | 
|---|---|
| https://docs.djangoproject.com/en/dev/releases/security/ | Vendor Advisory | 
| https://groups.google.com/g/django-announce | Vendor Advisory | 
| https://medium.com/@EyalSec/django-unauthenticated-0-click-rce-and-sql-injection-using-default-configuration-059964f3f898 | Exploit Third Party Advisory | 
| https://www.djangoproject.com/weblog/2025/sep/03/security-releases/ | Vendor Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2025-57833 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2025-57833
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Example Vulnerable application for CVE-2025–57833
Dockerfile Shell Python
None
Python PowerShell Shell CSS JavaScript HTML
We've set up an environment to test CVE-2025-57833. This environment was built using AI, so it's subject to ongoing modification.
Dockerfile Shell Python HTML
None
📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.
security cve exploit poc vulnerability
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2025-57833 vulnerability anywhere in the article.
		
 
									- 
                                                            
                                                                The Cyber Express 
Critical Zero-Day in Oracle E-Business Suite Prompts Urgent Security Updates
Oracle has issued a security alert warning users of a zero-day vulnerability in its widely used Oracle E-Business Suite. Tracked as CVE-2025-61882, this flaw allows unauthenticated, remote attackers t ... Read more
 
									- 
                                                            
                                                                Daily CyberSecurity 
Django Security Alert: High-Severity SQL Injection Flaw (CVE-2025-59681) Fixed in Latest Updates
The Django team has issued new security releases for the popular Python web framework, addressing two vulnerabilities that could lead to SQL injection and directory traversal attacks. The patched vers ... Read more
 
									- 
                                                            
                                                                The Cyber Express 
Google Project Zero Exposes ASLR Bypass Vulnerability in Apple’s Serialization Framework
Google Project Zero has revealed a new technique capable of bypassing Address Space Layout Randomization (ASLR) protections on Apple devices. The finding, published by security researcher Jann Horn, s ... Read more
 
									- 
                                                            
                                                                The Cyber Express 
Adobe Issues Urgent Patch for ‘SessionReaper’ Vulnerability in Commerce and Magento
Adobe has issued an urgent security advisory, specifically for CVE-2025-54236, also known as SessionReaper, affecting Adobe Commerce and Magento Open-Source platforms. This flaw has been assigned a CV ... Read more
 
									- 
                                                            
                                                                The Cyber Express 
Pakistan Launches Probe After Massive SIM Data Leak Hits Millions
The Pakistani government has launched an urgent investigation following reports of a massive data leak involving SIM holders’ personal information, including that of Interior Minister Mohsin Naqvi. Th ... Read more
 
									- 
                                                            
                                                                The Cyber Express 
Argo CD Security Flaw Rated 9.8 Leaves GitOps Repositories Exposed
A security flaw in Argo CD, the popular open-source GitOps tool for Kubernetes, has been targeted at the DevOps and cloud-native communities. Tracked as CVE-2025-55190, the vulnerability has been rate ... Read more
 
									- 
                                                            
                                                                CybersecurityNews 
Django Critical Vulnerability Let attackers Execute Malicious SQL Code on Web Servers
The Django development team has issued critical security updates to address a high-severity vulnerability that could allow attackers to execute malicious SQL code on web servers using the popular fram ... Read more
                The following table lists the changes that have been made to the
                CVE-2025-57833 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            Initial Analysis by [email protected]Oct. 20, 2025 Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 4.2 up to (excluding) 4.2.24 *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 5.1 up to (excluding) 5.1.12 *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 5.2 up to (excluding) 5.2.6 Added Reference Type MITRE: https://docs.djangoproject.com/en/dev/releases/security/ Types: Vendor Advisory Added Reference Type MITRE: https://groups.google.com/g/django-announce Types: Vendor Advisory Added Reference Type MITRE: https://medium.com/@EyalSec/django-unauthenticated-0-click-rce-and-sql-injection-using-default-configuration-059964f3f898 Types: Exploit, Third Party Advisory Added Reference Type MITRE: https://www.djangoproject.com/weblog/2025/sep/03/security-releases/ Types: Vendor Advisory 
- 
                            CVE Modified by [email protected]Sep. 08, 2025 Action Type Old Value New Value Added Reference https://medium.com/@EyalSec/django-unauthenticated-0-click-rce-and-sql-injection-using-default-configuration-059964f3f898 
- 
                            New CVE Received by [email protected]Sep. 03, 2025 Action Type Old Value New Value Added Description An issue was discovered in Django 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before 5.2.6. FilteredRelation is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed QuerySet.annotate() or QuerySet.alias(). Added CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N Added CWE CWE-89 Added Reference https://docs.djangoproject.com/en/dev/releases/security/ Added Reference https://groups.google.com/g/django-announce Added Reference https://www.djangoproject.com/weblog/2025/sep/03/security-releases/ 
 
                         
                         
                         
                                             
                                            